package com.zhouxl.jackson.xml.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

/**
 * @author zhouxl
 * @DATE 2021/8/26
 * @descriptoin
 */
@JsonIgnoreProperties(ignoreUnknown = true)   //忽略掉xml里不关注的element
@JacksonXmlRootElement(localName = "group")
public class Group {

    @JacksonXmlProperty(isAttribute = true)
    private String rq;

    @JacksonXmlElementWrapper(useWrapping = false)
    private Hblist hblist;

    public String getRq() {
        return rq;
    }

    public void setRq(String rq) {
        this.rq = rq;
    }

    public Hblist getHblist() {
        return hblist;
    }

    public void setHblist(Hblist hblist) {
        this.hblist = hblist;
    }
}
